module.exports = app => {

  const apiAdminRouter = app.router.namespace('/api/admin');

  const { controller, middleware } = app;

  const {
    order,
  } = controller.admin;

  apiAdminRouter.get('/order/list.json', order.list);
  apiAdminRouter.get('/order/subscription/list.json', order.getOrderSubscriptionList);

};
